Pod::Spec.new do |s|

  s.name         = "HHFormSDK"
  s.version      = "0.0.1"
  s.summary      = "表单sdk"
  s.description      = <<-DESC.gsub(/^\s*\|?/,'')
  An optional longer description of Huihui Health

  | * Markdown format.
  | * Don't worry about the indent, we strip it!
  DESC

  s.homepage         = "https://gitlab.leke.cn/health-huihui/app/ios/ios-component/HHFormSDK.git"
  s.license          = 'BSD'
  s.author           = { "chasel" => "chenchun1@cnstrong.cn" }
  s.source           = { :git => "git@gitlab.leke.cn:health-huihui/app/ios/ios-component/HHFormSDK.git", :branch => "master" }

  s.platform     = :ios, '8.0'
  s.requires_arc = true
  s.default_subspec = 'Core'

  
  # 核心模块
  s.subspec 'Core' do |core|
    core.public_header_files = 'Core/Class/**/*.h'
    core.source_files = 'Core/Class/**/*.{h,m}'
    core.resource = "Core/Assets/HHForm.bundle"
    core.dependency 'HHUIKit/Core'
    core.prefix_header_contents = <<-EOS
    #ifdef __OBJC__
    #import "HHFormPrefix.h"
    #endif /* __OBJC__*/
    EOS
    core.dependency 'BCComConfigKit'
    core.dependency 'Masonry'
  end

  # 性别选择 cell
  s.subspec 'Gender' do |gender|
    gender.public_header_files = 'Gender/**/*.h'
    gender.source_files = 'Gender/**/*.{h,m}'
    gender.dependency 'HHFormSDK/Core'
    gender.dependency 'BCComConfigKit'
  end
  
  
 
end
